package net.chrisrichardson.ec2deployer.util

class FileUtilTest extends GroovyTestCase {

    public void test() {
        assertEquals("/cygdrive/c/foo.x", FileUtil.cygdrive("c:/foo.x"))
        assertEquals("/cygdrive/c/foo.x", FileUtil.cygdrive("c:\\foo.x"))
        assertEquals("../foo.x", FileUtil.cygdrive("../foo.x"))
        assertEquals("../foo.x", FileUtil.cygdrive("..\\foo.x"))
    }
}